package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterReservecondDeleteRequest struct {
	/*
	   主动预约条件删除     */
	ReserveOpenConditionDelDto *domain.TmallServicecenterReservecondDeleteReserveOpenConditionDelDto `json:"reserve_open_condition_del_dto,omitempty" required:"false" `
}

func (s *TmallServicecenterReservecondDeleteRequest) SetReserveOpenConditionDelDto(v domain.TmallServicecenterReservecondDeleteReserveOpenConditionDelDto) *TmallServicecenterReservecondDeleteRequest {
	s.ReserveOpenConditionDelDto = &v
	return s
}

func (req *TmallServicecenterReservecondDeleteRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ReserveOpenConditionDelDto != nil {
		paramMap["reserve_open_condition_del_dto"] = util.ConvertStruct(*req.ReserveOpenConditionDelDto)
	}
	return paramMap
}

func (req *TmallServicecenterReservecondDeleteRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
